package top.oylan.mp.entity;

import lombok.Data;

import java.util.List;

@Data
public class Role {
    private Integer id;

    private String roleName;

    private Byte status;

    private String description;

    private List<RoleMenu> roleMenus;

    public void setRoleName(String roleName) {
        this.roleName = roleName == null ? null : roleName.trim();
    }

    public void setDescription(String description) {
        this.description = description == null ? null : description.trim();
    }
}